package com.dianxin.farm.mapper.bill;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dianxin.farm.entity.OrderBill;
import com.dianxin.farm.entity.pojo.OrderPojo;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xukai
 * @since 2020-11-30
 */
public interface OrderBillMapper extends BaseMapper<OrderBill> {

    List<OrderPojo> selectCondition(@Param("orderNo")String orderNo,
                                    @Param("startTime")Date startTime,
                                    @Param("endTime")Date endTime,
                                    @Param("goodsName")String goodsName,
                                    @Param("payType")Integer payType,
                                    @Param("status")Integer status,
                                    @Param("customerId")Integer customerId);

}
